package net.borlis.processor.api.service;

import net.borlis.processor.api.object.AccountObject;

import java.math.BigInteger;

/**
 * Created by borlis on 24.12.2014.
 */
public interface AccountService {

    AccountObject create(BigInteger userId, String name, String surname, String login, String password);

    AccountObject read(BigInteger id);

    AccountObject update(BigInteger id, String name, String surname, String login);

    void delete(BigInteger id);
}
